package 接口;
public class TestDeviceSystem4 {
    public static void main(String[] args) {
        DeviceManager4 manager = new DeviceManager4();
        Device4 hpPrinter = new Printer4("惠普LaserJet Pro");
        Device4 epsonSmartBoard = new SmartBoard4("爱普生CB-1485Fi");
        manager.addDevice(hpPrinter);
        manager.addDevice(epsonSmartBoard);
        manager.powerOnAllDevices();
        manager.connectAllNetworkDevices();
        manager.connectAllUsbDevices();
    }
}